//
//  WmcMediaRecognitionModel.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/10/25.
//

import Foundation

class WmcMediaRecognitionModel: YPNetworkJsonProtocol {
    struct PointModel: YPNetworkJsonProtocol {
        var x: Double = 0.0
        var y: Double = 0.0
    }

    // Lifecycle

    required init() {}

    // Internal

    var leftUpPoint: PointModel = .init(x: 0, y: 0)
    var rightDownPoint: PointModel = .init(x: 0, y: 0)
    var centerPoint: PointModel = .init(x: 0, y: 0)
    var width: Double = 0.0
    var height: Double = 0.0
    var radius: Double = 0.0
    var index: Int = 0
    var center: CGPoint = CGPoint(x: 0, y: 0)
}
